package dflow.repository;

import dflow.domain.User;
import dflow.repository.custom.UserRepositoryCus;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.querydsl.QueryDslPredicateExecutor;

/**
 * Created by dustin on 2017/7/9.
 */
public interface UserRepository extends JpaRepository<User,Integer>, QueryDslPredicateExecutor<User> ,UserRepositoryCus {
    User findByNicknameAndPassword(String name, String password);
}
